<?php
/*
 */
define('ELS_VERSION', '1.0.0');
error_reporting(7);
define('ELS_DATADIR', ELS_ROOT.'/data/');
define('ELS_PLAYERDIR', ELS_ROOT.'/data/player/');
define('ELS_VIDEODIR',  ELS_ROOT.'/data/video/');
define('MP3', "MP3");
define('FLV', "FLV");

define('AUTH_SYSTEM', 	1);
define('AUTH_PROPERTY', 2);
define('AUTH_MANAGER', 	3);
define('AUTH_HOME', 	4);
define('AUTH_VIDEO', 	5);
define('AUTH_WORD', 	6);
define('AUTH_EXAM', 	7);
define('AUTH_MEMBER', 	8);
define('AUTH_CATAGORI', 9);

define('AUTH_SELECT', 1);
define('AUTH_INSERT', 2);
define('AUTH_DELETE', 3);
define('AUTH_UPDATE', 4);

define('AUTH_ERR_SELECT', "没有查询权限！");
define('AUTH_ERR_INSERT', "没有添加权限！");
define('AUTH_ERR_DELETE', "没有删除权限！");
define('AUTH_ERR_UPDATE', "没有更新权限！");

require ELS_DATADIR.'config.inc.php';
require ELS_ROOT.'model/base.php';

?>
